// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue';
import VueResource from 'vue-resource';
import App from './App';
import router from './router';
import VueFetch from 'vue-fetch';

Vue.use(VueFetch);
Vue.use(VueResource);

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  polyfill: true,
  template: '<App/>',
  data: {
    eventHub: new Vue()
  },
  components: {App}
});
